package com.stone.bypass.proxy.core.config;


import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.context.annotation.Import;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Documented
@Import(CreateDiversionProxyRegistrar.class)
public @interface EnableCreateDiversionProxy {

  /**
   * <p>扫描包路径</p>
   * 与basePackages含义相同
   *
   * @return 扫描包路径
   */
  String[] value() default {};


  /**
   * <p>扫描包路径</p>
   * 与value含义相同
   *
   * @return 扫描包路径
   */
  String[] basePackages() default {};

  /**
   * 扫描的classes
   *
   * @return 扫描的classes
   */
  Class<?>[] basePackageClasses() default {};
}
